package com.huluobo.a2107mvpimdemo.register.presenter;

/**
 * 注册的协议
 * Created by LC on 2023/9/21.
 */
public interface RegisterContract {
    interface Presenter {
        void register(String username, String password, String rePassword);
    }

    interface View {
        void onRegisterSuccess();

        void onRegisterFailed(String error);

        void onStartRegister();

        void onUsernameError();

        void onPasswordError();

        void onRePasswordError();
    }
}
